package com.javalab._7thread._2Operate._2WaitNotify;

public class Test {
    public static void main(String[] args) {
        MyStack myStack = new MyStack();
        Producer producer = new Producer(myStack);
        Consumer consumer = new Consumer(myStack);
        producer.start();
        consumer.start();
    }
}
